//    Copyright (C) Kherty.  All rights reserved.
using System.Collections.Generic;
using System.Reflection;

namespace OpenLS.Spreadsheet.Expressions
{
    class MissingExpression: Expression
    {
        public override string GetText(TextContext context)
        {
             return ""; 
        }
        public override IEnumerable<Expression> GetSubExpressions()
        {
            yield break;
        }
        internal override Expression Transposed(Cell target)
        {
            return this;
        }
        public override IEnumerable<IDependencyNode> GetPrecedents(EvaluationContext context)
        {
            yield break;
        }

        protected override object GetObjectImp(EvaluationContext context)
        {
            return Missing.Value;
        }

        public override Expression Offset(CellRelativeAddress a)
        {
            return this;
        }
    }
}
